package sol.cc;

/**
 * Created by lkk on 2016/8/13.
 */
public class Issue1_1 {
    public static boolean checkDifferent(String iniString) {
        return !iniString.matches(".*(.)(.*\\1).*");
    }

    public static void main(String[] args) {
        String str = "abc";
        System.out.println(checkDifferent(str));
    }
}
